[XEND] Minor readability change
authoratse@norwich.uk.xensource.com <atse@norwich.uk.xensource.com>
Fri, 14 Jul 2006 10:49:25 +0000 (11:49 +0100)
committeratse@norwich.uk.xensource.com <atse@norwich.uk.xensource.com>
Fri, 14 Jul 2006 10:49:25 +0000 (11:49 +0100)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendLogging.py

index 1060e4ac85dcfbcd3bbd484f4930728e68b1924f..061cf922b0bcf3ae50b747959c339feb93af3348 100644 (file)
@@ -28,7 +28,7 @@ from xen.xend.server import params
 __all__ = [ 'log', 'init', 'getLogFilename' ]
 
 
-if not 'TRACE' in logging.__dict__:
+if 'TRACE' not in logging.__dict__:
     logging.TRACE = logging.DEBUG - 1
     logging.addLevelName(logging.TRACE,'TRACE')
     def trace(self, *args, **kwargs):